Programmes de Travaux Publiques
Pour visualiser les sources des programmes vous devez télécharger le fichier de police ti dans
le dossier : C:\WINDOWS\FONTS\

Pour ne rien oublier voici le diagramme du programme
Programme A01TRXP
EffEcr
Lbl 99
Menu(" TRAVAUX PUB ","Pts sur droite",1,"Pts sur cercle",2,"Clotoides",4
Lbl 1
prgmPTINDRO
Goto 99
Lbl 2
prgmPTCERCLE
Goto 99
Lbl 4
prgmCLOTOIDE
Lbl 5
Stop
Programme PTINDRO
EffEcr
Disp "X Depart"
Input A
Disp "Y Depart"
Input B
Disp "X Arivee"
Input C
Disp "Y Arivee"
Input D
C-A E
D-B F
(E +F )^0.5 G
Disp "Distance",G
Disp "Interval"
Input I
EffEcr
Lbl 1
Disp "Profil max",ent(G/I)
Disp "Profil N"
Input J
I*J D
D/G R
A+R*E L
B+R*F M
EffEcr
Disp ""
Disp "Nouveau pt X",L
Disp "Nouveau pt Y",M
Pause
Goto 1
Programme PTCERCLE
Radian
Fixe 3
EffEcr
Disp "Info sur cercle"
Disp "Centre O X"
Input A
Disp "Centre O Y"
Input B
Disp "Rayon du cercle"
Input R
EffEcr
Disp "Infos reference"
Disp "Point A X"
Input C
Disp "Point A Y"
Input D
C-A X
D-B Y
prgmGISMT
EffEcr
Disp "Dist develope"
Input J
J/R I
Lbl 1
EffEcr
Disp "Numero du point"
Input F
I*F K
H-K L
A+sin(L)*R X
B+cos(L)*R Y
EffEcr
Disp "Point du cercle"
Disp "X =",X
Disp "Y =",Y
Pause
Goto 1
Programme CLOTOIDE
Lbl 99
Radian
0 L
0 A
0 R
0 E
0 B
2 K
Menu(" CLOTOIDE ","Axe simple",1,"tang droite",2
Lbl 1
9 U
Goto 10
Lbl 2
9 U
EffEcr
Disp "Point De Tangt X"
Input M
Disp "Point De Tangt Y"
Input N
EffEcr
Disp "Point De ref X"
Input P
Disp "Point De ref Y"
Input Q
P-M X
Q-N Y
prgmGISMT
Menu(" GISEMENT ","Pt ref avant",6,"Pt reF Clotoid",7,"Gisement D",8,"Rien passer",10
Lbl 6
H- H
Goto 10
Lbl 7
Goto 10
Lbl 8
EffEcr
Disp "Entre Le gisemen"
Disp "De La droite du"
Disp "Cote de clotoide"
Input H
H*( /200) H
Lbl 10
EffEcr
Disp "Quand Inconnues"
Disp "Taper 0 et enter"
Pause
EffEcr
Disp "Parametre A"
Input A
EffEcr
Disp "Longueur racord"
Input L
EffEcr
Disp "Rayon du racord"
Input R
EffEcr
Disp "Informations sur"
Disp "L'origine curvil"
Pause
EffEcr
Disp "Absice de origin"
Input E
EffEcr
Disp "Interdist points"
Input C
E+C S
EffEcr
If (A*L) 0
(A /L) R
If (A*R) 0
(A /R) L
If (R*L) 0
(L*R)^0.5 A
Lbl 20
S-S^5/(40*A^4)+S^9/(3456*A^8)-S^13/(599040*A^12) X
S^3/(6*A^2)-S^7/(336*A^6)+S^11/(42240*A^10)-S^15/(9676800*A^14) Y
EffEcr
If K=0
Goto 98
Disp "Coordonnees X,Y"
Disp " repere local"
Disp arrondi(X,3)
Disp arrondi(Y,3)
Disp "AbcIce curvil",S-E
Pause
If U>0
Goto 25
If (S+C-E)>L
Goto 90
If U<0
Then
S+C-E S
Goto 20
End
Lbl 25
(X +Y )^0.5 D
If X=0
X+ ^( 9) X
Arctan(Y/X) G
H-G F
If F<0
F+2* F
If F>(2* )
F-2* F
M+sin(F)*D V
N+cos(F)*D W
EffEcr
Disp "Coordonnees X,Y"
Disp " repere general"
Disp arrondi(V,3)
Disp arrondi(W,3)
Disp "Abcice",S-E
Pause
Goto 50
Lbl 90
EffEcr
Disp "On depasse L"
K+1 K
Pause
L+E S
Goto 20
Lbl 50
If (S+C-E)>L
Goto 90
S+C-E S
Goto 20
Lbl 98
1 K
Disp "Rayon du cercle"
Disp "De tangence a L",R
Pause
EffEcr
L /(2*A ) Q
X-R*sin(Q) I
Y+R*cos(Q) J
Disp "Coordonnees X,Y"
Disp " repere local"
Disp ""
Disp " du centre",I,J
Pause
If U= 9
Goto 99
(I +J )^0.5 D
If X=0
X+ ^( 9) X
Arctan(J/I) G
H-G F
If F<0
F+2* F
If F>(2* )
F-2* F
M+sin(F)*D V
N+cos(F)*D W
EffEcr
Disp "Coordonnees X,Y"
Disp " repere general"
Disp ""
Disp " du centre",V,W
Pause
Goto 99
ProgrammeGISMT
If Y=0
Then
Y+ ^( 15) Y
End
Arctan(X/Y) G
If Y<0
Then
G+ H
Goto 10
End
If X<0
Then
G+2* H
Goto 10
End
G H
Lbl 10
H*(200/ ) G
EffEcr
Disp ""
Disp "Gisement",G
(X +Y )^0.5 D
Disp ""
Disp "Distance",D
Pause
Return
|